import request from "../utils/request";

// 登录 (手机号：mobile 密码：password 设备IMEI号：imei 设备名称：device_name)
export const apiLogin = (user) => {
    return request(`/api/user/login`, 'POST', user)
}

// 获取用户信息
export const info = () => {
    return request(`/api/user/info`, 'GET')
	
}

// 登出
export const logout = () => {
    return request(`/api/user/logout`, 'POST')
	
}